public class Main {
  public static void main(String[] args) {

    // 1. 整型
    // 1.1 byte    数据类型 标识符 = 值;
    byte b = 3 ;
    System.out.println("b = " + b);

    // 1.2 short
    short s = 3 ;
    System.out.println("s = " + s);

    // 1.3 int
    int i = 3 ;
    System.out.println("i = " + i);

    // 1.4 long
    long l = 3 ;
    System.out.println("l = " + l);



    // 2. 浮点型
    // 2.1 float
    float f = 3.14f ;
    System.out.println("f = " + f);

    // 2.2 double
    double d = 3.14 ;
    System.out.println("d = " + d);


    // 3. 字符型
    // 3.1 char
    char c = 'a' ;
    char c1 = '\u0000';
    System.out.println("c = " + c);
    System.out.println("c1 = " + c1);


    // 4. 布尔型
    // 4.1 boolean
    boolean b1 = true ;
    System.out.println("b1 = " + b1);

    boolean b2 = false ;
    System.out.println("b2 = " + b2);



  }
}